<% @page_title = "多背一公斤 | 探访过的学校" %>

<% content_for(:sidebar) do -%>
	<%= render :file => 'searchers/index' %>
<% end -%>

<h3 class="nt">搜索结果 <%= title_suffix %></h3>
<% if @schools && @schools.empty? %>
	没有符合关键词的结果，请换个关键词继续搜索
<% elsif @schools %>
<%= will_paginate @schools, :params =>{ :keywords => @keywords } %>
<div>
	<%= render :partial => 'schools/school_table', :locals => {:schools => @schools} %>
</div>
<%= will_paginate @schools, :params =>{ :keywords => @keywords } %>
<% else %>
<p>搜索关键词不能为空</p>
<% end %>